﻿using System;
using System.Data;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IDAL
{
    public interface IDAL_FIM_Petitions
    {
        IList<M_FIM_Petitions> GetFull(Nullable<int> bgm_source_seq, Nullable<int> bgm_year);
        IList<M_FIM_Petitions> GetList(Nullable<int> bgm_source_seq, Nullable<int> bgm_year, string filter);
        IList<M_FIM_Petitions> GetDirectPaymentList(Nullable<int> bgm_source_seq
            , Nullable<int> bgm_year, Nullable<int> petition_seq);
        IList<M_FIM_Petitions> GetApprovedList(Nullable<int> bgm_source_seq, Nullable<int> bgm_year, string filter);
        M_FIM_Petitions GetInfo(int seq);
        //string SelectRecentInsertedRoleSeq();

        string Insert(M_FIM_Petitions info);
        void Update(M_FIM_Petitions info);
        void Delete(M_FIM_Petitions info);
        void UpdateGlTranSeq(M_FIM_Petitions info);
        void UpdatePetitionNo(M_FIM_Petitions info);
        void ChangeStatus(M_FIM_Petitions info);
        //void UpdateDepositSeq(M_FIM_Petitions info);
        //void DeleteDepositSeq(M_FIM_Petitions info);
        //void UpdatePaySeq(M_FIM_Petitions info);
    }
}
